import request from "@/utils/request";
import { download, downloadOfGet } from "@/utils/request";

// 列表
export function deviceDiagnoseResult(params) {
  return request({
    url: "/diagnoseRuleConfig/deviceDiagnoseResult/list",
    method: "get",
    params,
  });
}
// 导出
export function exportList(fileName, params) {
  return downloadOfGet(
    "/diagnoseRuleConfig/deviceDiagnoseResult/export",
    fileName,
    params
  );
}
